﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FilmBlowingMachine.Winform.Lib
{
    public class TResult<T, T1>
    {
        /// <summary>
        /// 成功标志
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 返回值
        /// </summary>
        public T Value { get; set; }

        /// <summary>
        /// 错误信息
        /// </summary>
        public T1 ErrorInfo { get; set; }

    }


    public class TResult<T>
    {
        /// <summary>
        /// 成功标志
        /// </summary>
        public bool Success { get; set; }

        /// <summary>
        /// 返回值
        /// </summary>
        public T Value { get; set; }

    }

    public class TResult
    {
        /// <summary>
        /// 成功标志
        /// </summary>
        public bool Success { get; set; }
    }
}
